package cn.cau.service;

import cn.cau.entity.BasicEnum;
import cn.cau.entity.BasicEnumSum;
import cn.cau.entity.CodeRule;

import java.util.List;

public interface BasicEnumService {
    public int insertBasicEnum(BasicEnum basicEnum);

    public List<BasicEnum> findBasicEnumByCodeRuleId(int codeRuleId);

    public List<BasicEnumSum> findBasicEnumSumByCodeRuleId(int codeRuleId);

    public List<List<BasicEnum> >findBasicEnumSByCodeRuleId(int codeRuleId,int count);

    public List<BasicEnum> findBasicEnumByCodeIdAndPos(int codeId,int pos);
}
